home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1997 July
/
macformat52.iso
/
mac
/
Shareware Plus
/
Educational
/
LEE 2.1
/
Source
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-08-09
|
594b
|
37 lines
# To compile LEE for the UNIX environment, adjust flags
# and compiler below and then type "make all" at the prompt.
#
# Note: add floating point option if appropriate
# -lm for the math libraries
# -O for optimization
# -g for debugging (dbx)
# -p for profiling (prof)
CFLAGS = -lm -O
CC = acc
LEE = globals.o \
include.o \
io.o \
net.o \
populati.o \
world.o \
body.o \
interact.o \
stats.o
headers = Makefile defs.h
archive : $(LEE)
rm -f lee.a
ar r lee.a $(LEE)
ranlib lee.a
main : main.c
$(CC) $(CFLAGS) -o lee main.c lee.a
all : archive main
$(LEE) : $(headers)